package cn.com.lsy.product.lepao.model.dao;

import cn.com.lsy.product.lepao.model.entities.LpGoodsTbl;
import cn.com.lsy.product.lepao.model.entities.LpGoodsTblExample;
import cn.com.lsy.product.lepao.model.entities.LpGoodsTblWithBLOBs;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface LpGoodsTblMapper {
    long countByExample(LpGoodsTblExample example);

    int deleteByExample(LpGoodsTblExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(LpGoodsTblWithBLOBs record);

    int insertSelective(LpGoodsTblWithBLOBs record);

    List<LpGoodsTblWithBLOBs> selectByExampleWithBLOBs(LpGoodsTblExample example);

    List<LpGoodsTbl> selectByExample(LpGoodsTblExample example);

    LpGoodsTblWithBLOBs selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") LpGoodsTblWithBLOBs record, @Param("example") LpGoodsTblExample example);

    int updateByExampleWithBLOBs(@Param("record") LpGoodsTblWithBLOBs record, @Param("example") LpGoodsTblExample example);

    int updateByExample(@Param("record") LpGoodsTbl record, @Param("example") LpGoodsTblExample example);

    int updateByPrimaryKeySelective(LpGoodsTblWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(LpGoodsTblWithBLOBs record);

    int updateByPrimaryKey(LpGoodsTbl record);
}